package com.hos.hospital.service;


import org.apache.ibatis.annotations.Param;
import org.springframework.data.domain.Sort;
import org.springframework.data.jpa.repository.Query;

import com.hos.hospital.entity.Admin;

import java.util.List;

import javax.persistence.EntityManager;

public interface AdminService {


	List<Admin> findAll();


	List<Admin> findAll(Admin admin);


	List<Admin> findAllById(Integer id);


	void flush();



	void deleteInBatch(Integer id);

	
	void deleteAllInBatch();

	
	Admin getOne(Integer id);

}
